﻿namespace ApiTemplate.Entity.Base
{
    /// <summary>
    /// 分页的输出对象
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class PageResult<T>
    {
        /// <summary>
        /// 返回的数据
        /// </summary>
        public IEnumerable<T> Datas { get; set; }

        /// <summary>
        /// 总数量
        /// </summary>
        public int DataCount { get; set; }
    }
}
